]> dgit.raspbian.org Git - gnome-shell.git/commit
lookingGlass: Use replaceAll()
authorAlessandro Bono <alessandro.bono369@gmail.com>
Fri, 20 Feb 2026 22:56:17 +0000 (23:56 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 14 Mar 2026 17:38:24 +0000 (18:38 +0100)
commit07a027d783137d8d019ab27c05982666775fd4b1
treeef4ef6f5ffe135b14a9d34f24cf39e84e8687aea
parent2f600a9d3b147532dcf6bf72224cf79e757c7d4d
lookingGlass: Use replaceAll()

Remove all the newlines occurrences, not just the first one.

Fixes: 52ae75d4b ("LookingGlass - JavaScript prompt and interactive Clutter controller")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4084>
(cherry picked from commit 8ebf6ba2ca6000b99d6049ebbe2726c92af0e4e9)
js/ui/lookingGlass.js